package com.happy.cat.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.happy.cat.framework.aspectj.lang.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * 社交-关注对象 social_follow
 * 
 * @author verne
 * @date 2020-08-29
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("social_follow")
@ApiModel(value="社交-关注对象", description="社交-关注对象数据")
public class SocialFollow implements Serializable {

private static final long serialVersionUID=1L;


    /** $column.columnComment */
    @ApiModelProperty(value = "${comment}")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 用户 */
    @Excel(name = "用户")
    @ApiModelProperty(value = "用户")
    private String user;

    /** 被关注用户 */
    @Excel(name = "被关注用户")
    @ApiModelProperty(value = "被关注用户")
    private String followedUser;

    /** 0取消关注，1关注/喜欢 */
    @Excel(name = "0取消关注，1关注/喜欢")
    @ApiModelProperty(value = "0取消关注，1关注/喜欢")
    private Integer status;

    /** 创建时间 */
    @Excel(name = "支付时间/到账时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 更新时间 */
    @Excel(name = "支付时间/到账时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
